package com.nice.nice201110.mapper;

import com.nice.nice201110.entity.TButton;
import com.nice.nice201110.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TButtonMapper {

    int deleteSelective(Integer id);
    int insertSelective(TButton record);
    TButton selectByPrimaryKey(Integer id);
    int updateByPrimaryKeySelective(TButton record);

    List<TButton> selectByUserMenu(UserVo userVo,Integer menuid);  //根据当前用户与 菜单id获取对应按钮
}